home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 013a / hp3drv.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-04-09  |  1KB  |  44 lines

  1. echo off
  2. if :==:%1 goto promo1
  3. if %1==? goto promo1
  4. set src=a
  5. if /%2/==// goto srctodst
  6. if %2==? goto promo1
  7. set src=%2
  8.  
  9. :srctodst
  10. if not exist %1:\ventura\*.* goto warning
  11. copy %src%:\driver.exe %1:\ventura    >nul
  12. %1:                                   >nul
  13. cd \ventura                           >nul
  14. cls
  15. echo        Expanding the HP Series IIID driver files...
  16. echo ...
  17. driver.exe
  18. del %1:\ventura\driver.exe
  19. %src%:
  20. cls
  21. echo    HP Series IIID printer driver installed successfully...
  22. goto exit
  23.  
  24. :warning
  25. rem pause
  26. echo    Can not find the %1:\VENTURA subdirectory,
  27. echo    please check and try again.
  28. echo    .
  29. echo    .
  30. rem goto exit
  31.  
  32. :promo1
  33. echo    Installation of the HP Series IIID printer driver for Ventura
  34. echo    Publisher DOS/GEM requires the specification of the hard
  35. echo    drive containing the \VENTURA subdirectory.
  36. echo    .
  37. echo    .
  38. echo    usage:    install [destination drive]
  39. echo             destination drive = C D E ...
  40. echo    Example: install C
  41.  
  42. :exit
  43. set src=
  44. echo on